MODULE 'exec/io'

CONST	DEFPITCH=$6E,
		DEFRATE=$96,
		DEFVOL=$40,
		DEFFREQ=$56B8,
		NATURALF0=0,
		ROBOTICF0=1,
		MANUALF0=2,
		MALE=0,
		FEMALE=1,
		DEFSEX=0,
		DEFMODE=0,
		DEFARTIC=$64,
		DEFCENTRAL=0,
		DEFF0PERT=0,
		DEFF0ENTHUS=$20,
		DEFPRIORITY=$64,
		MINRATE=$28,
		MAXRATE=$190,
		MINPITCH=$41,
		MAXPITCH=$140,
		MINFREQ=$1388,
		MAXFREQ=$6D60,
		MINVOL=0,
		MAXVOL=$40,
		MINCENT=0,
		MAXCENT=$64,
		ND_NOTUSED=-1,
		ND_NOMEM=-2,
		ND_NOAUDLIB=-3,
		ND_MAKEBAD=-4,
		ND_UNITERR=-5,
		ND_CANTALLOC=-6,
		ND_UNIMPL=-7,
		ND_NOWRITE=-8,
		ND_EXPUNGED=-9,
		ND_PHONERR=-20,
		ND_RATEERR=-21,
		ND_PITCHERR=-22,
		ND_SEXERR=-23,
		ND_MODEERR=-24,
		ND_FREQERR=-25,
		ND_VOLERR=-26,
		ND_DCENTERR=-27,
		ND_CENTPHONERR=-28,
		NDB_NEWIORB=0,
		NDB_WORDSYNC=1,
		NDB_SYLSYNC=2,
		NDF_NEWIORB=1,
		NDF_WORDSYNC=2,
		NDF_SYLSYNC=4

OBJECT NDI|narrator_rb
	message|IOStd:IOStd,
	rate:UWORD,
	pitch:UWORD,
	mode:UWORD,
	sex:UWORD,
	ChMasks:PTR TO UBYTE,
	NumMasks:UWORD,
	volume:UWORD,
	sampfreq:UWORD,
	mouths:UBYTE,
	chanmask:UBYTE,
	numchan:UBYTE,
	flags:UBYTE,
	F0enthusiasm:UBYTE,
	F0perturb:UBYTE,
	F1adj:BYTE,
	F2adj:BYTE,
	F3adj:BYTE,
	A1adj:BYTE,
	A2adj:BYTE,
	A3adj:BYTE,
	articulate:UBYTE,
	centralize:UBYTE,
	centphon:PTR TO CHAR,
	AVbias:BYTE,
	AFbias:BYTE,
	priority:BYTE,
	pad1:BYTE

OBJECT MRB|mount_rb
	voice|NDI:NDI,
	width:UBYTE,
	height:UBYTE,
	shape:UBYTE,
	sync:UBYTE
